# # 变量赋值
#
# # 单个变量赋值
# num = 10
# print(num)
#
# # 多个变量同时赋值
# num1,str1,bool1=10,'陈晓东',True
# print(num1,str1,bool1)
#
# # 多个变量赋相同值
# a = b = 10.98
# print(a,b)

# 同一行不同变量赋不同的值
x = 123; y = 'xyz'
print(x,y)

# 复合赋值运算符
# += -+ //= /= %= **=
num1 = 9
num1 //= 2
print(num1)

num1 = 9
num1 /= 2
print(num1)

num1 = 9
num1 %= 2
print(num1)

num1 = 9
num1 **= 2
print(num1)

# 短路运算 and or
print(4 and 5)
print(5 and 6 or 7)
4 > 3 and print('hello world')

